package solution

func V1(nums []int) bool {
	for i := 0; i < len(nums); i++ {
		for j := i + 1; j < len(nums); j++ {
			for l := j + 1; l < len(nums); l++ {
				if nums[i] < nums[l] && nums[l] < nums[j] {
					return true
				}
			}
		}
	}

	return false
}
